﻿using Collection.Entities;
using Super.Collection.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Super.Collection.Core.Providers
{
    /// <summary>
    /// 基础数据提供接口
    /// </summary>
    public interface IProvider
    {
        /// <summary>
        /// 获取报告接口
        /// </summary>
        /// <param name="url">提供者的地址</param>
        /// <param name="encoding">文档解析的编码</param>
        /// <returns>返回报告列表</returns>
        List<Announcement> GetAnnouncements(string url, Encoding encoding);

		NLotteryDraw GetLatestLotteryDraw();


    }
}
